package org.dromara.dao.business.domain;


import io.swagger.v3.oas.annotations.media.Schema;
import org.dromara.common.mybatis.core.domain.BaseDomain;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 敏感词检测对象 green_word
 *
 *
 * @date 2025-04-16 10:07:50
 */
@Schema(description = "敏感词检测")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("green_word")
public class GreenWord extends BaseDomain {

    @Serial
    private static final long serialVersionUID = 1L;
    /**
    * 字段 [id]: ID
    */
    @Schema(description = "ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;


    /**
     * 字段 [user_id]: 用户ID
     */
    @Schema(description = "用户ID")
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 字段 [user_name]: 用户账号
     */
    @Schema(description = "用户账号")
    @TableField(value = "user_name")
    private String userName;

    /**
     * 字段 [content]: 文本
     */
    @Schema(description = "文本")
    @TableField(value = "content")
    private String content;

    /**
     * 字段 [pass]: 是否通过
     */
    @Schema(description = "是否通过")
    @TableField(value = "pass")
    private Boolean pass;

    /**
     * 字段 [ip_address]: 用户IP
     */
    @Schema(description = "用户IP")
    @TableField(value = "ip_address")
    private String ipAddress;

}
